package com.ma.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * author: MaHX
 * date: 2019/5/31/13:04
 * description:
 **/
@Controller
public class BackController {
    @GetMapping("/")
    public String mainIndex(){
        return "index";
    }

    @GetMapping("/index")
    public String index(){
        return "index";
    }

    @GetMapping("/login")
    public String login(){
        return "login";
    }

    @GetMapping("/mylove")
    public String mylove(){
        return "mylove";
    }

    @GetMapping("/mybestlove")
    public String mybestlove(){
        return "mybestlove";
    }
}
